<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>登录</title>
    <link rel="stylesheet" href="./asset/lib/layui/css/layui.css">
    <link rel="stylesheet" href="./asset/css/login.css">

</head>

<body>
    <!-- logo区域 -->
    <div class="layui-container header">
        <img src="./asset/images/logo.png" alt="">
    </div>
    <!-- 表单模块 -->
    <div class="loginBox">
        <!-- 表单标题 -->
        <div class="login_hd"></div>
        <!-- 表单登录结构 -->
        <form class="layui-form login-form" action="">
            <div class="layui-form-item">
                <i class="layui-icon layui-icon-username"></i>
                <input type="text" name="username" required lay-verify="required |uname" placeholder="请输入用户名"
                    autocomplete="off" class="layui-input">
            </div>
            <div class="layui-form-item">
                <i class="layui-icon layui-icon-password"></i>
                <input type="password" name="password" required lay-verify="required|pwd" placeholder="请输入密码"
                    autocomplete="off" class="layui-input">
            </div>
            <div class="layui-form-item">
                <button class="layui-btn layui-btn-normal layui-btn-fluid" lay-submit lay-filter="formDemo">登录</button>
            </div>
            <div class="layui-form-item reg-link">
                <a href="javascript:;">去注册账号</a>
            </div>
        </form>
        <!-- 表单注册表结构 -->
        <form class="layui-form reg-form" action="">
            <div class="layui-form-item">
                <i class="layui-icon layui-icon-username"></i>
                <input type="text" name="username" required lay-verify="required|uname" placeholder="请输入用户名"
                    autocomplete="off" class="layui-input">
            </div>
            <div class="layui-form-item">
                <i class="layui-icon layui-icon-password"></i>
                <input type="password" name="password" required lay-verify="required|pwd" placeholder="请输入密码"
                    autocomplete="off" class="layui-input">
            </div>
            <div class="layui-form-item">
                <i class="layui-icon layui-icon-password"></i>
                <input type="password" required lay-verify="required|pwd| samepwd" placeholder="请确认密码"
                    autocomplete="off" class="layui-input">
            </div>
            <div class="layui-form-item">
                <button class="layui-btn layui-btn-normal layui-btn-fluid" lay-submit lay-filter="formDemo">注册</button>
            </div>
            <div class="layui-form-item login-link">
                <a href="javascript:;">去登录</a>
            </div>
        </form>
    </div>
</body>
<script src="./asset/lib/jquery.js"></script>
<script src="./asset/js/common.js"></script>
<script src="./asset/lib/layui/layui.all.js"></script>
<script src="./asset/js/login.js"></script>

</html>